Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding formatting #508

Merged
merged 10 commits into from
Nov 30, 2023
Merged

adding formatting #508

merged 10 commits into from
Nov 30, 2023

Conversation

KjellKod
Copy link
Owner

@KjellKod KjellKod commented Nov 30, 2023

Added a clang-format file so we have ONE uniform formatting going forward.

Make sure you install clang-format
example: npm install -g clang-format as well as a good VS Code Formatter - like Clang-Format by Xaver Hellauer

example of formatting a whole repository that I found useful:
find . -iname "*.hpp" -o -iname "*.cpp" | xargs clang-format -i
or a single file clang-format -i test_unit/test_io.cpp.

src/filesink.cpp Outdated Show resolved Hide resolved
Copy link
Owner Author

@KjellKod KjellKod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified in ubuntu .devcontainer

Copy link
Owner Author

@KjellKod KjellKod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done for Windows

@KjellKod KjellKod merged commit cf91227 into master Nov 30, 2023
8 checks passed
@KjellKod KjellKod deleted the formatting branch November 30, 2023 23:17
@KjellKod KjellKod restored the formatting branch December 6, 2023 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant